3.131 \(\int x (a^2+2 a b x^3+b^2 x^6)^p \, dx\)

Optimal. Leaf size=58 \[ \frac {x^2 \left (a+b x^3\right ) \left (a^2+2 a b x^3+b^2 x^6\right )^p \, _2F_1\left (1,2 p+\frac {5}{3};\frac {5}{3};-\frac {b x^3}{a}\right )}{2 a} \]

[Out]

1/2*x^2*(b*x^3+a)*(b^2*x^6+2*a*b*x^3+a^2)^p*hypergeom([1, 5/3+2*p],[5/3],-b*x^3/a)/a

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 60, normalized size of antiderivative = 1.03, number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {1356, 364} \[ \frac {1}{2} x^2 \left (\frac {b x^3}{a}+1\right )^{-2 p} \left (a^2+2 a b x^3+b^2 x^6\right )^p \, _2F_1\left (\frac {2}{3},-2 p;\frac {5}{3};-\frac {b x^3}{a}\right ) \]

Antiderivative was successfully verified.

[In]

Int[x*(a^2 + 2*a*b*x^3 + b^2*x^6)^p,x]

[Out]

(x^2*(a^2 + 2*a*b*x^3 + b^2*x^6)^p*Hypergeometric2F1[2/3, -2*p, 5/3, -((b*x^3)/a)])/(2*(1 + (b*x^3)/a)^(2*p))

Rule 364

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a^p*(c*x)^(m + 1)*Hypergeometric2F1[-
p, (m + 1)/n, (m + 1)/n + 1, -((b*x^n)/a)])/(c*(m + 1)), x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 1356

Int[((d_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_.) + (c_.)*(x_)^(n2_.))^(p_), x_Symbol] :> Dist[(a^IntPart[p]*(a
+ b*x^n + c*x^(2*n))^FracPart[p])/(1 + (2*c*x^n)/b)^(2*FracPart[p]), Int[(d*x)^m*(1 + (2*c*x^n)/b)^(2*p), x],
x] /; FreeQ[{a, b, c, d, m, n, p}, x] && EqQ[n2, 2*n] && EqQ[b^2 - 4*a*c, 0] &&  !IntegerQ[2*p]

Rubi steps

\begin {align*} \int x \left (a^2+2 a b x^3+b^2 x^6\right )^p \, dx &=\left (\left (1+\frac {b x^3}{a}\right )^{-2 p} \left (a^2+2 a b x^3+b^2 x^6\right )^p\right ) \int x \left (1+\frac {b x^3}{a}\right )^{2 p} \, dx\\ &=\frac {1}{2} x^2 \left (1+\frac {b x^3}{a}\right )^{-2 p} \left (a^2+2 a b x^3+b^2 x^6\right )^p \, _2F_1\left (\frac {2}{3},-2 p;\frac {5}{3};-\frac {b x^3}{a}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 51, normalized size = 0.88 \[ \frac {1}{2} x^2 \left (\left (a+b x^3\right )^2\right )^p \left (\frac {b x^3}{a}+1\right )^{-2 p} \, _2F_1\left (\frac {2}{3},-2 p;\frac {5}{3};-\frac {b x^3}{a}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x*(a^2 + 2*a*b*x^3 + b^2*x^6)^p,x]

[Out]

(x^2*((a + b*x^3)^2)^p*Hypergeometric2F1[2/3, -2*p, 5/3, -((b*x^3)/a)])/(2*(1 + (b*x^3)/a)^(2*p))

________________________________________________________________________________________

fricas [F]  time = 0.71, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p} x, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b^2*x^6+2*a*b*x^3+a^2)^p,x, algorithm="fricas")

[Out]

integral((b^2*x^6 + 2*a*b*x^3 + a^2)^p*x, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p} x\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b^2*x^6+2*a*b*x^3+a^2)^p,x, algorithm="giac")

[Out]

integrate((b^2*x^6 + 2*a*b*x^3 + a^2)^p*x, x)

________________________________________________________________________________________

maple [F]  time = 0.03, size = 0, normalized size = 0.00 \[ \int x \left (b^{2} x^{6}+2 a b \,x^{3}+a^{2}\right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(b^2*x^6+2*a*b*x^3+a^2)^p,x)

[Out]

int(x*(b^2*x^6+2*a*b*x^3+a^2)^p,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p} x\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b^2*x^6+2*a*b*x^3+a^2)^p,x, algorithm="maxima")

[Out]

integrate((b^2*x^6 + 2*a*b*x^3 + a^2)^p*x, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int x\,{\left (a^2+2\,a\,b\,x^3+b^2\,x^6\right )}^p \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(a^2 + b^2*x^6 + 2*a*b*x^3)^p,x)

[Out]

int(x*(a^2 + b^2*x^6 + 2*a*b*x^3)^p, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x \left (\left (a + b x^{3}\right )^{2}\right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b**2*x**6+2*a*b*x**3+a**2)**p,x)

[Out]

Integral(x*((a + b*x**3)**2)**p, x)

________________________________________________________________________________________